//
//  Person.m
//  Annuaire
//
//  Created by Jordan on 03/12/2011.
//  Copyright 2011 optimalConcept. All rights reserved.
//

#import "Person.h"


@implementation Person

@synthesize firstName, lastName, email;

- (id) init
{
    self = [super init];
    if ( self )
    {
        firstName = @"Anonymous";
        lastName = @"Noname";
        email = @"Unknown";
    }
    return self;
}

- (NSString *) description
{
    return [NSString stringWithFormat:@"%@ %@, %@",
            firstName, lastName, email];
}


@end
